package exsun.jt808.data.upload_data.jt808;

/**
 * CAN 总线数据项
 */
public class CanDataItem {
    /**
     *   CAN 通道号，0：CAN1，1：CAN2；
     */
    private int canChannelId;
    /**
     * 帧类型，0：标准帧，1：扩展帧
     */
    private int frameType;
    /**
     * 数据采集方式，0：原始数据，1：采集区间的平均值
     */
    private int collectType;
    /**
     * CAN 总线 ID
     */
    private int canId;
    /**
     * CAN 数据
     */
    private String canData;

    public String getCanData() {
        return canData;
    }

    public void setCanData(String canData) {
        this.canData = canData;
    }

    public int getCanChannelId() {
        return canChannelId;
    }

    public void setCanChannelId(int canChannelId) {
        this.canChannelId = canChannelId;
    }

    public int getFrameType() {
        return frameType;
    }

    public void setFrameType(int frameType) {
        this.frameType = frameType;
    }

    public int getCollectType() {
        return collectType;
    }

    public void setCollectType(int collectType) {
        this.collectType = collectType;
    }

    public int getCanId() {
        return canId;
    }

    public void setCanId(int canId) {
        this.canId = canId;
    }
}
